@font-face {
  font-family: 'iconfont';
  src: url('../fonts/iconfont.eot');
  src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/iconfont.woff2') format('woff2'),
    url('../fonts/iconfont.woff') format('woff'),
    url('../fonts/iconfont.ttf') format('truetype'),
    url('../fonts/iconfont.svg#iconfont') format('svg');
}

.icon {
  font-family: 'iconfont';
}

.clearfix::after {
  content: '';
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}

.clearfix {
  *zoom: 1;
}

body {
  background-color: #fafafa;
}

/* 头部 */
.header {
  height: 0.88rem;
  line-height: .88rem;
  text-align: center;
  position: relative;
  font-size: .36rem;
  background-color: #fff;
}

.header .forward {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.header .forward img {
  width: 0.41rem;
  height: 0.39rem;
  display: block;
}

/* 导航 */
.nav {
  background-color: #fff;
  border-top: .01rem solid #d7d7d7 !important;
  /* border-bottom: .01rem solid #d7d7d7 !important; */
}

.nav ul {
  display: flex;
  font-size: .24rem;
  padding: .36rem 0 .32rem;
  width: auto;
  background-color: #fff;
}

.nav ul li {
  width: 20%;
  text-align: center;
}

.nav ul li img {
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: middle;
  margin-bottom: .3rem;
}

/* 分类 */
.category {
  border-top: .01rem solid #d7d7d7;
  border-bottom: .01rem solid #d7d7d7;
  margin-top: .19rem;
  background-color: #fff;
}

.category .title {
  padding: 0 .22rem;
  height: 0.68rem;
  line-height: .68rem;
  border-bottom: .01rem solid #ebebeb;
}

.category .title h3 {
  font-size: .32rem;
  font-weight: 500;
}

.category .title .more {
  color: #969696;
  font-size: .24rem;
  text-align: right;
}

.category_content {
  padding: .18rem .7rem;
}

.category_content ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.category_content ul li {
  width: 1.05rem;
  font-size: .24rem;
  text-align: center;
}

.category_content ul li a {
  color: #646464;
}

.category_content ul li img {
  width: 1.05rem;
  height: 1.05rem;
  border: 0.01rem solid #eaeaea;
  border-radius: 50%;
  margin-bottom: .16rem;
}

/* 商品 */
.shopcontent {
  background-color: #fff;
  margin-top: .2rem;
  margin-bottom: 1.23rem;
}

.shopcontent ul li {
  padding-top: .15rem;

}

.shopcontent ul li .img {
  width: 3rem;
  height: 3.2rem;
  margin-left: .24rem;
}

.shopcontent ul li .country {
  width: 0.47em;
  height: 0.47em;
  margin-left: .26rem;
  margin-right: .1rem;
}

.shopcontent ul .shopinfo {
  width: 2.88rem;
}

.shopcontent ul .shopinfo h3 {
  font-size: .28rem;
}

.shopcontent ul .shopinfo .pin {
  font-size: .2rem;
  color: #969696;
  width: 0.9rem;
  height: 0.3rem;
  line-height: .3rem;
  text-align: center;
  border: .01rem solid #e6e6e6;
  margin-top: .22rem;
  margin-bottom: .32rem;
}

.shopcontent ul .shopinfo .had {
  font-size: .24rem;
  color: #969696;
}

.shopcontent ul .shopinfo .price {
  font-size: .36rem;
  font-weight: 600;
  color: #d3150b;
  margin-bottom: .16rem;
}

.shopcontent ul .shopinfo .shopinfo_footer {
  font-size: .32rem;
  color: #fff;
}

.shopcontent ul .shopinfo .open {
  display: inline-block;
  width: 1.6rem;
  height: 0.6rem;
  line-height: .6rem;
  text-align: center;
  background: url(../images/foreignsale/info_bg.png) no-repeat;
  background-size: 100%;
}

.shopcontent ul .shopinfo .hot {
  position: relative;
  display: inline-block;
  font-size: .2rem;
  margin-left: .3rem;
}

.shopcontent ul .shopinfo .hot img {
  width: 0.42rem;
  height: 0.46rem;
  vertical-align: middle;
}

.shopcontent ul .shopinfo .hot .hot_num {
  position: absolute;
  text-align: center;
  right: -.6rem;
  top: -.16rem;
  background-color: #ff5001;
  border-radius: .17rem;
  padding: 0 .05rem;
  z-index: 1;
}

/* 底部导航 */
.footer_nav {
  height: 1.23rem;
  position: fixed;
  z-index: 9;
  max-width: 7.5rem;
  width: 100%;
  bottom: 0;
  background-color: #fff;
}

.footer_nav ul {
  display: flex;
}

.footer_nav ul li {
  flex: 1;
  text-align: center;
  font-size: .2rem;
  padding: .2rem 0 .17rem;
  cursor: pointer;
}

.footer_nav ul li:nth-child(3) a {
  color: #ff5001;
}

.footer_nav ul li .icon {
  font-size: .5rem;
}

/* 适配320px */
@media screen and (max-width:320px) {
  .shopcontent ul .shopinfo {
    width: 2.4rem;
  }

  .shopcontent ul li .img {
    margin-left: 0;
  }

  .shopcontent ul li .country {
    margin-left: 0;
    margin-right: 0;
    width: 0.36rem;
    height: 0.36rem;
  }

  .shopcontent ul .shopinfo .pin {
    margin: .08rem 0;
  }

  .shopcontent ul .shopinfo .price {
    margin-bottom: 0;
  }
}